<%@page import="Model.consultation.consultationList"%>
<%@page import="RssEasy.Core.HttpRequestHelper"%>
<%@page import="RssEasy.Core.CookieHelper"%>
<%@page import="Model.Product.ProductList"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%
CookieHelper cookie=new CookieHelper(request, response);
HttpRequestHelper hrh=new HttpRequestHelper(pageContext).request();
consultationList ct =new consultationList(pageContext);
String types=hrh.get("types");
if(types.equals("1")){
 ct.delete().where("myid=? and id=?",cookie.Get("myid"),hrh.get("id")).submit();
 out.print("1");
};
%>
